package com.zmp.kotlinnote.exchange

import com.zmp.kotlinnote.entry.DPerson

/**
 *@author zmp
 *Created by zmp on 2018/12/19
 */

/**
 * 无参数  无返回类型
 */
typealias A = () -> Unit

var a: A = fun() {
    z2 = z
    z = z2
}
typealias B = (a: Int) -> Unit

typealias X = (a: Int) -> Int

typealias Z = DPerson.() -> Unit

typealias Z2 = (d: DPerson) -> Unit

var z2: Z2 = fun(d) {

}
//var zz : Z = fun (d :DPerson){
//
//}
var z: Z = fun DPerson.() {

}


